package com.iweb.dishes.service;

import com.iweb.dishes.model.Dishes;
import com.iweb.util.PageModel;

import java.util.List;

public interface DishesService {
    //分页查询
    public List<Dishes> selectByPage(PageModel pageModel);
    //新增菜品
    public int addOne(Dishes dishes);
    //更新菜品
    public int updateOne(Dishes dishes);
    //删除菜品
    public int deleteById(int cid);

    public Dishes queryById(String cid);
}
